package com.woniu.dao;

import com.woniu.domain.Role;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import org.apache.ibatis.annotations.Param;
/**
 * @author: 刘家元  <br/>
 * Date: 2021/6/8:12:18  <br/>
 * Description:角色持久化接口
 */

public interface RoleDao {
    @ApiOperation(value = "根据id查询对应的角色")
    @ApiImplicitParam(name = "id",value = "角色id")
    Role roleGetById(@Param("id") Integer id);
}
